package pl.ivmx.cinema;

import java.io.Serializable;
import java.util.List;

import pl.ivmx.cinema.entities.Movie;

public class Fasada implements Serializable {

	public OpakowanieMovie getFilmsList(){
		MovieDao movieDao = MovieDao.getInstance();
		List<Movie> l = movieDao.getAllMovies();
		  String all = "";
		 return new OpakowanieMovie(l) ;
		 
//		  for (Movie movie : l) {
//			all = all + " " + movie.getTitle();
//		}
//		
//		return all;
		
		
	}
}
